Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

ld.sh{cond4} Rd, Rp[disp]

if (cond4)
Rd = SE( *(Rp + (ZE(disp9<<1))) );
d, p ∈ {0, 1, …, 15}
disp ∈ {0, 2, ..., 1022}
cond4 ∈ {eq, ne, cc/hs, cs/lo, ge, lt, mi, pl, ls, gt, le, hi, vs, vc, qs, al}

Rev2+

111

Rp

11111

Rd

cond4

001

disp9

3

4

5

4

4

3

9

Description

Reads the halfword memory location specified and sign-extends it if the given condition is satis- fied.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.